function configure(grabber)
{
   // Interface configuration
   grabber.InterfacePort.set("LineSelector", "IIN11");
   grabber.InterfacePort.set("LineFilterStrength", "Medium"); 
   grabber.InterfacePort.set("LineInputToolSelector", "LIN1"); 
   grabber.InterfacePort.set("LineInputToolSource", "IIN11");
   grabber.InterfacePort.set("QuadratureDecoderToolSelector", "QDC1");
   grabber.InterfacePort.set("QuadratureDecoderToolSources", "DIN11_DIN12");
   grabber.InterfacePort.set("QuadratureDecoderToolActivation", "RisingEdgeA"); 
   grabber.InterfacePort.set("QuadratureDecoderToolForwardDirection", "A_Leads_B");
   grabber.InterfacePort.set("MultiplierDividerToolSelector", "MDV1");
   grabber.InterfacePort.set("MultiplierDividerToolSource", "QDC1");   
   grabber.InterfacePort.set("MultiplierDividerToolOutputControl", "Enable");
   grabber.InterfacePort.set("MultiplierDividerToolDivisionFactor", "2.38");
   grabber.InterfacePort.set("CxpRevisionSelector", "CXP_2_0");
  
  grabber.DevicePort.set("CameraControlMethod", "RC");
  grabber.DevicePort.set("CycleTriggerSource", "MDV1");
  grabber.DevicePort.set("CycleMinimumPeriod", "10");

   // camera configuration
grabber.RemotePort.set("AcquisitionLineRate", "100000"); 
grabber.RemotePort.set("TriggerMode", "On"); 
grabber.RemotePort.set("TriggerSource", "CXPin"); 

grabber.StreamPort.set("StartOfScanTriggerSource", "LIN1");
grabber.StreamPort.set("ScanLength", "35000"); 
grabber.StreamPort.set("BufferHeight", "35000");


}

configure(grabbers[0]);